package com.simpou.commons.utils.interceptor;

import java.lang.reflect.Method;


/**
 * Interceptador base.
 *
 * @author Jonas Pereira
 * @since 2011-07-27
 * @version 2012-07-27
 */
public abstract class AbstractInterceptor implements Interceptor {
    @Override
    public <T, E extends T> T intercept(final Class<T> ifaceClass, final E obj,
        final Method... methods) {
        return InterceptorInvocationHandler.newInstance(this, ifaceClass, obj,
            methods);
    }
}
